package com.cxs.plan.DTO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class RoleDTO {

    @TableId(type = IdType.AUTO)
    private Integer id;

    @NotNull(message = "角色名称不能为空")
    private String name;

    private String remark;
    @NotNull(message = "状态不能为空")
    private int status;
    private List<String> menuIds;
}
